package com.zcah.db.service;

import com.zcah.db.domain.DbsourceDO;

import java.util.List;
import java.util.Map;

/**
 * 脱敏数据库源连接信息
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-07-06 13:59:44
 */
public interface DbsourceService {
	
	DbsourceDO get(Integer id);
	
	List<DbsourceDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(DbsourceDO dbsource);
	
	int update(DbsourceDO dbsource);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
